package com.appkubes.mall.restful.application.order.delivery.entity.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class AddDeliveryOrderDTO {

    @ApiModelProperty("用户key")
    @JSONField(name="user_key")
    String userkey;

    @ApiModelProperty("用户tel")
    @JSONField(name="user_tel")
    String userTel;

    @ApiModelProperty("用户姓名")
    @JSONField(name="user_name")
    String userName;

    @ApiModelProperty("订单号")
    @JSONField(name="order_no")
    String orderNo;

    @ApiModelProperty("订单金额")
    BigDecimal amount;

    @ApiModelProperty("订单支付金额")
    @JSONField(name="pay_amount")
    BigDecimal payAmount;

    @ApiModelProperty("省")
    String province;

    @ApiModelProperty("市")
    String city;

    @ApiModelProperty("区")
    String region;

    @ApiModelProperty("详细地址")
    String address;
    @ApiModelProperty("商品详情")
    List<GoodsesDTO> goodses;
}
